<?php
$a=$_GET['a'];
$path=$_GET['path'];
$url="http://".$a.".taobaocdn.com/".$path;
//echo "<img src=".$url." />";

Header("HTTP/1.1 301 Moved Permanently"); 
Header("Location: $url"); 
?>